package com.iotp.dao.paste;

import com.iotp.entity.paste.Paste;
import com.iotp.entity.paste.PasteWithBLOBs;
import org.apache.ibatis.annotations.Mapper;

import javax.annotation.ManagedBean;
import java.util.List;

@Mapper
public interface PasteMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PasteWithBLOBs record);

    int insertSelective(PasteWithBLOBs record);

    PasteWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PasteWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PasteWithBLOBs record);

    int updateByPrimaryKey(Paste record);

    List<PasteWithBLOBs> selectByCondition(PasteWithBLOBs paste);
}